﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Telerik.Web.UI;

namespace Sistema_de_Taller.SDT_UI.Replacement
{
	public partial class replacement_view : System.Web.UI.UserControl
	{
        protected void Page_Load(object sender, EventArgs e)
        {
           
        }

        protected void RadGrid1_UpdateCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
        {
            GridEditableItem edititem = e.Item as GridEditableItem;
            String ReplacementID = edititem["Replacement_ID"].Text;
            String query = string.Format("~/SDT_UI/Replacement/DetailsReplacement.aspx?Id={0} ", ReplacementID);
            Response.Redirect(query);
        }
	}
}